import http from '@/utils/request'

const apiBefore = '/web'

export const graphutil = {
  Request: params => {
    const body = JSON.stringify({
      query: params,
      variables: {}
    })
    return http.post(`${apiBefore}/graphapi-util/v1/graphql`, body)
  }
}
